// This file was decompiled using VCSCM.ini published on 2021-01-30
{$CLEO .cs}

0000: NOP 
0001: wait 2050 ms 
0004: $9103 = 0 // $ = int
             
:Noname_7
0001: wait 50 ms 
00D6: if and
0038:   $9103 == 1 // $ == int  
0038:   $onmission == 1 // $ == int 
004D: jump_if_false @Noname_7 

0006: 5@ = 0 // @ = int

0167: 10@ = create_marker_at 279.3623 231.6355 11.0 color 1 display 3   
03BC: 11@ = create_sphere 279.3623 231.6355 10.7 0.75  

:checkLoc1
0001: wait 0 ms

   
00D6: if or
8256:  not player $PLAYER_CHAR defined
0117:  player $PLAYER_CHAR wasted
then  
0004: $9103 = 0 // $ = int  
0164: disable_marker 10@   
03BD: destroy_sphere 11@   
0001: wait 50 ms
0004: $onmission = 0 // $ = int 
0002: jump @Noname_7 
end 

//277.752 255.6541 13.0
00D6: if or
00F6:   player $player_char 0 324.3474 198.9764 11.0 radius 150.85 150.85 151.0 
00F7:   player $player_char sphere 0 near_point_in_car 324.3474 198.9764 11.0 radius 150.85 150.85 151.0 
004D: jump_if_false @checkLoc1

0247: request_model 222 
0247: request_model 34  
0247: request_model 24  
0247: request_model 73  
               
:CHOLOS_168
0001: wait 0 ms


    
00D6: if and
0248:   model 222 available 
0248:   model 34 available   
0248:   model 24 available    
0248:   model 73 available    
004D: jump_if_false @CHOLOS_168    
038B: load_requested_models    

00BC: text_highpriority 'sidpr39' time 10000 1

    


009A: 3@ = create_actor_pedtype 1 model 73 at 327.2491 197.3556 11.0 
00A5: 2@ = create_car 222 at 324.3474 198.9764 11.0

    
0001: wait 1000 ms  

  
0175: set_car 2@ z_angle_to 37.0   
0173: set_actor 3@ z_angle_to 40.0



/*



009A: 0@ = create_actor_pedtype 1 model 34 at 563.827 530.3469 11.9
009A: 1@ = create_actor_pedtype 1 model 24 at 561.0797 530.3469 11.9


00BC: text_highpriority 'sidpr36' time 10000 1 

0161: 10@ = create_marker_above_car 0@ color 0 display 1
       
0162: 10@ = create_marker_above_actor 0@ color 4 display 3
*/



0006: 6@ = 1 // @ = int

:checks 
0001: wait 0 ms
00D6: if or  
0039:  5@ == 1 // @ == int 
0039:  5@ == 2 // @ == int
then 
    000A: 6@ += 1 // @ += int
end
       
0001: wait 0 ms 
00D6: if or  
8256:  not player $PLAYER_CHAR defined
0117:  player $PLAYER_CHAR wasted
then  
0004: $9103 = 0 // $ = int
0002: jump @clearProps 
end 


00D6: if       
0039:   5@ == 5 // @ == int
then   
    0001: wait 50 ms 
    00D6: if       
    00F6:   player $player_char 0 -75.1313 -1532.144 12.8099 radius 1.0 1.0 1.0 
    then 
        0006: 5@ = 6  // @ = int 
        010D: set_player $player_char wanted_level_to 0
        
        0394: play_music 1
        00BA: text_styled 'sidpsd' 7000 ms 1  // An Old Friend
        
        0247: request_model 337 
        :CHOLOS_16811     
        0001: wait 20 ms
        00D6: if 
        0248:   model 337 available 
        004D: jump_if_false @CHOLOS_16811
        038B: load_requested_models
            
        0107: 9@ = create_object 337 at -92.4883 -1499.05 9.94188  //mission one 
        
        0004: $9103 = 2 // $ = int
        0109: player $PLAYER_CHAR money += 1000
        0249: release_model 337    
        0002: jump @clearProps
        
        
    else  
        00D6: if
        810F:  not player $PLAYER_CHAR wanted_level > 3
        then              
            0001: wait 100 ms 
            010D: set_player $player_char wanted_level_to 4
        end
    end
end

00D6: if       
0039:   5@ == 4 // @ == int   
then    
    00D6: if        
    04C5:   actor 3@ photographed
    then
        0006: 5@ = 5  // @ = int
        010D: set_player $player_char wanted_level_to 4 
        00AD: set_car 2@ max_speed_to 150.0
        00AE: set_vehicle 2@ traffic_behavior_to 5
        01CC: actor 0@ kill_player $PLAYER_CHAR 
        00BC: text_highpriority 'sidpr46' time 20000 1
        0167: 10@ = create_marker_at -75.1313 -1532.144 12.8099 color 1 display 3   
        03BC: 11@ = create_sphere -75.1313 -1532.144 12.8099 1.0  
    end
end



    
0001: wait 0 ms 
00D6: if  
0039:   5@ == 3 // @ == int 
then 

    00D6: if and
    00DB:   actor 0@ in_car 2@
    00DB:   actor 1@ in_car 2@  
    then   
        0006: 5@ = 4 // @ = int
        00BC: text_highpriority 'sidpr38' time 10000 1  
        0006: 6@ = 1 // @ = int
    end      
end




00D6: if and
0039:   6@ == 250 // @ == int  
0039:   5@ == 2 // @ == int  
then        
0006: 5@ = 3 // @ = int
009A: 1@ = create_actor_pedtype 1 model 24 at 327.1867 205.8342 10.8
00BC: text_highpriority 'sidpr40' time 10000 1  
0006: 6@ = 1 // @ = int 
01D4: actor 1@ go_to_car 2@ and_enter_it_as_a_passenger
end


00D6: if and
0039:   6@ == 250 // @ == int  
0039:   5@ == 1 // @ == int  
then  
0164: disable_marker 10@          
0006: 5@ = 2 // @ = int
009A: 0@ = create_actor_pedtype 1 model 34 at 327.1867 205.8342 10.8 
00BC: text_highpriority 'sidpr37' time 10000 1  
0006: 6@ = 1 // @ = int          
01D5: actor 0@ go_to_and_drive_car 2@
end
        
0001: wait 0 ms 

00D6: if
0039:   5@ == 0 // @ == int  
then 
    00D6: if
    00F6:   player $player_char 0 279.3623 231.6355 11.0 radius 0.85 0.85 1.0 
    then 
        0006: 5@ = 1 // @ = int
        0164: disable_marker 10@    
        03BD: destroy_sphere 11@ 
        00BC: text_highpriority 'sidpr36' time 10000 1   
        0161: 10@ = create_marker_above_car 2@ color 0 display 1
    end 
end




0002: jump @checks 


:clearProps
00D6: if
8038:  not $9103 == 2 // $ == int
then 
    00BC: text_highpriority 'sidpr15' time 5000 1
else 
    010D: set_player $player_char wanted_level_to 0 
    00BC: text_highpriority 'empty' time 10 1
end

00D6: if
8039:  not 5@ == 1 // @ == int
then               
    0164: disable_marker 10@  
end

00D6: if
8039:  not 5@ == 5 // @ == int
then               
    0164: disable_marker 10@   
    03BD: destroy_sphere 11@
end



00D6: if
0019:   5@ > 1 // @ > int
then 
    01C2: mark_actor_as_no_longer_needed 0@ 
end
     
00D6: if
0019:   5@ > 2 // @ > int
then  
    01C2: mark_actor_as_no_longer_needed 1@
end

01C3: mark_car_as_no_longer_needed 2@
01C2: mark_actor_as_no_longer_needed 3@ 

0249: release_model 222    
0249: release_model 34 
0249: release_model 24 
0249: release_model 73  
0001: wait 50 ms
0004: $onmission = 0 // $ = int 

0002: jump @Noname_7

